<template>
    <el-container>
        <el-header>
            <!-- 顶部头 -->
            <y-header/>
        </el-header>
        <el-container>
            <el-aside :width="$store.state.asideWidth">
                <!-- 左边菜单 -->
                <y-menu/>
            </el-aside>
            <el-main>
                <!-- 主容器 标签导航 -->
                <y-tag-list/>
                <!-- 主体信息 -->
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script setup>
    import YHeader from './components/YHeader.vue';
    import YMenu from './components/YMenu.vue';
    import YTagList from './components/YTagList.vue';
</script>

<style>
    .el-aside {
        transition: all 0.2s;
    }

</style>